package com.diyunapp.xilinapp.bean;

import org.json.JSONArray;

import java.util.List;

/**
 * Created by Administrator on 2016/6/27.
 */
public class WaitPayBean {

    /**
     * code : 200
     * datas : {"order_group_list"
     * :[{"order_list":[{"order_id":"56","order_sn":"8000000000005502","pay_sn":"160520352875789038",
     * "store_id":"2","store_name":"自营店铺","buyer_id":"38","buyer_name":"junjun",
     * "buyer_email":"shuosssssss199547@qq.com","add_time":"1467008875","payment_code":"online"
     * ,"payment_time":"0","finnshed_time":"0","goods_amount":"1232.00","order_amount":"1234.00","rcb_amount":"0.00",
     * "pd_amount":"0.00","shipping_fee":"2.00","evaluation_state":"0","order_state":"10","refund_state":"0",
     * "lock_state":"0","delete_state":"0","refund_amount":"0.00","delay_time":"0","order_from":"2",
     * "shipping_code":"","xlb_num":"0","xlb_amount":"0.00","state_desc":"待付款","payment_name":"在线付款",
     * "extend_order_goods":[{"rec_id":"57","order_id":"56","goods_id":"237","goods_name":"洗衣机","goods_price":"1232.00","goods_num":"1","goods_image":"2_05175969131903726.jpg","goods_pay_price":"1232.00","store_id":"2","buyer_id":"38","goods_type":"1","promotions_id":"0","commis_rate":"200","gc_id":"317","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":null,"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/2/2_05175969131903726_240.jpg"}],"if_cancel":true,"if_receive":false,"if_lock":false,"if_deliver":false},{"order_id":"55","order_sn":"8000000000005501","pay_sn":"160520352875789038","store_id":"1","store_name":"西林商城店铺","buyer_id":"38","buyer_name":"junjun","buyer_email":"shuosssssss199547@qq.com","add_time":"1467008875","payment_code":"online","payment_time":"0","finnshed_time":"0","goods_amount":"327.00","order_amount":"327.00","rcb_amount":"0.00","pd_amount":"0.00","shipping_fee":"0.00","evaluation_state":"0","order_state":"10","refund_state":"0","lock_state":"0","delete_state":"0","refund_amount":"0.00","delay_time":"0","order_from":"2","shipping_code":"","xlb_num":"0","xlb_amount":"0.00","state_desc":"待付款","payment_name":"在线付款","extend_order_goods":[{"rec_id":"56","order_id":"55","goods_id":"231","goods_name":"至尊金奖 法国原瓶进口AOC红酒 任选一箱 红沙城堡红葡萄酒 原装进口","goods_price":"228.00","goods_num":"1","goods_image":"1_04423392298369303.jpg","goods_pay_price":"228.00","store_id":"1","buyer_id":"38","goods_type":"2","promotions_id":"2","commis_rate":"200","gc_id":"630","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":{"403":"原装进口"},"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/1/1_04423392298369303_240.jpg"},{"rec_id":"55","order_id":"55","goods_id":"53","goods_name":"新款 女款 拼接 不规则摆 长袖针织衫开衫 杏雨 XL 紫色","goods_price":"99.00","goods_num":"1","goods_image":"1_04418253240878850.jpg","goods_pay_price":"99.00","store_id":"1","buyer_id":"38","goods_type":"1","promotions_id":"0","commis_rate":"200","gc_id":"14","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":{"472":"XL","475":"紫色"},"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/1/1_04418253240878850_240.jpg"}],"if_cancel":true,"if_receive":false,"if_lock":false,"if_deliver":false}],"pay_amount":1561,"add_time":"1467008875","pay_sn":"160520352875789038"}]}
     */

    private int code;
    private DatasBean datas;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * order_list : [{"order_id":"56","order_sn":"8000000000005502","pay_sn":"160520352875789038","store_id":"2","store_name":"自营店铺","buyer_id":"38","buyer_name":"junjun","buyer_email":"shuosssssss199547@qq.com","add_time":"1467008875","payment_code":"online","payment_time":"0","finnshed_time":"0","goods_amount":"1232.00","order_amount":"1234.00","rcb_amount":"0.00","pd_amount":"0.00","shipping_fee":"2.00","evaluation_state":"0","order_state":"10","refund_state":"0","lock_state":"0","delete_state":"0","refund_amount":"0.00","delay_time":"0","order_from":"2","shipping_code":"","xlb_num":"0","xlb_amount":"0.00","state_desc":"待付款","payment_name":"在线付款","extend_order_goods":[{"rec_id":"57","order_id":"56","goods_id":"237","goods_name":"洗衣机","goods_price":"1232.00","goods_num":"1","goods_image":"2_05175969131903726.jpg","goods_pay_price":"1232.00","store_id":"2","buyer_id":"38","goods_type":"1","promotions_id":"0","commis_rate":"200","gc_id":"317","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":null,"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/2/2_05175969131903726_240.jpg"}],"if_cancel":true,"if_receive":false,"if_lock":false,"if_deliver":false},{"order_id":"55","order_sn":"8000000000005501","pay_sn":"160520352875789038","store_id":"1","store_name":"西林商城店铺","buyer_id":"38","buyer_name":"junjun","buyer_email":"shuosssssss199547@qq.com","add_time":"1467008875","payment_code":"online","payment_time":"0","finnshed_time":"0","goods_amount":"327.00","order_amount":"327.00","rcb_amount":"0.00","pd_amount":"0.00","shipping_fee":"0.00","evaluation_state":"0","order_state":"10","refund_state":"0","lock_state":"0","delete_state":"0","refund_amount":"0.00","delay_time":"0","order_from":"2","shipping_code":"","xlb_num":"0","xlb_amount":"0.00","state_desc":"待付款","payment_name":"在线付款","extend_order_goods":[{"rec_id":"56","order_id":"55","goods_id":"231","goods_name":"至尊金奖 法国原瓶进口AOC红酒 任选一箱 红沙城堡红葡萄酒 原装进口","goods_price":"228.00","goods_num":"1","goods_image":"1_04423392298369303.jpg","goods_pay_price":"228.00","store_id":"1","buyer_id":"38","goods_type":"2","promotions_id":"2","commis_rate":"200","gc_id":"630","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":{"403":"原装进口"},"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/1/1_04423392298369303_240.jpg"},{"rec_id":"55","order_id":"55","goods_id":"53","goods_name":"新款 女款 拼接 不规则摆 长袖针织衫开衫 杏雨 XL 紫色","goods_price":"99.00","goods_num":"1","goods_image":"1_04418253240878850.jpg","goods_pay_price":"99.00","store_id":"1","buyer_id":"38","goods_type":"1","promotions_id":"0","commis_rate":"200","gc_id":"14","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":{"472":"XL","475":"紫色"},"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/1/1_04418253240878850_240.jpg"}],"if_cancel":true,"if_receive":false,"if_lock":false,"if_deliver":false}]
         * pay_amount : 1561
         * add_time : 1467008875
         * pay_sn : 160520352875789038
         */

        private List<OrderGroupListBean> order_group_list;

        public List<OrderGroupListBean> getOrder_group_list() {
            return order_group_list;
        }

        public void setOrder_group_list(List<OrderGroupListBean> order_group_list) {
            this.order_group_list = order_group_list;
        }

        public static class OrderGroupListBean {
            private int pay_amount;
            private String add_time;
            private String pay_sn;
            /**
             * order_id : 56
             * order_sn : 8000000000005502
             * pay_sn : 160520352875789038
             * store_id : 2
             * store_name : 自营店铺
             * buyer_id : 38
             * buyer_name : junjun
             * buyer_email : shuosssssss199547@qq.com
             * add_time : 1467008875
             * payment_code : online
             * payment_time : 0
             * finnshed_time : 0
             * goods_amount : 1232.00
             * order_amount : 1234.00
             * rcb_amount : 0.00
             * pd_amount : 0.00
             * shipping_fee : 2.00
             * evaluation_state : 0
             * order_state : 10
             * refund_state : 0
             * lock_state : 0
             * delete_state : 0
             * refund_amount : 0.00
             * delay_time : 0
             * order_from : 2
             * shipping_code :
             * xlb_num : 0
             * xlb_amount : 0.00
             * state_desc : 待付款
             * payment_name : 在线付款
             * extend_order_goods : [{"rec_id":"57","order_id":"56","goods_id":"237","goods_name":"洗衣机","goods_price":"1232.00","goods_num":"1","goods_image":"2_05175969131903726.jpg","goods_pay_price":"1232.00","store_id":"2","buyer_id":"38","goods_type":"1","promotions_id":"0","commis_rate":"200","gc_id":"317","goods_xlb_num":"0","goods_xlb_amount":"0.00","goods_spec":null,"goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/2/2_05175969131903726_240.jpg"}]
             * if_cancel : true
             * if_receive : false
             * if_lock : false
             * if_deliver : false
             */

            private List<OrderListBean> order_list;

            public int getPay_amount() {
                return pay_amount;
            }

            public void setPay_amount(int pay_amount) {
                this.pay_amount = pay_amount;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getPay_sn() {
                return pay_sn;
            }

            public void setPay_sn(String pay_sn) {
                this.pay_sn = pay_sn;
            }

            public List<OrderListBean> getOrder_list() {
                return order_list;
            }

            public void setOrder_list(List<OrderListBean> order_list) {
                this.order_list = order_list;
            }

            public static class OrderListBean {
                private String order_id;
                private String order_sn;
                private String pay_sn;
                private String store_id;
                private String store_name;
                private String buyer_id;
                private String buyer_name;
                private String buyer_email;
                private String add_time;
                private String payment_code;
                private String payment_time;
                private String finnshed_time;
                private String goods_amount;
                private String order_amount;
                private String rcb_amount;
                private String pd_amount;
                private String shipping_fee;
                private String evaluation_state;
                private String order_state;
                private String refund_state;
                private String lock_state;
                private String delete_state;
                private String refund_amount;
                private String delay_time;
                private String order_from;
                private String shipping_code;
                private String xlb_num;
                private String xlb_amount;
                private String state_desc;
                private String payment_name;
                private boolean if_cancel;
                private boolean if_receive;
                private boolean if_lock;
                private boolean if_deliver;



                /**
                 * rec_id : 57
                 * order_id : 56
                 * goods_id : 237
                 * goods_name : 洗衣机
                 * goods_price : 1232.00
                 * goods_num : 1
                 * goods_image : 2_05175969131903726.jpg
                 * goods_pay_price : 1232.00
                 * store_id : 2
                 * buyer_id : 38
                 * goods_type : 1
                 * promotions_id : 0
                 * commis_rate : 200
                 * gc_id : 317
                 * goods_xlb_num : 0
                 * goods_xlb_amount : 0.00
                 * goods_spec : null
                 * goods_image_url : http://www.xilingou.com/data/upload/shop/store/goods/2/2_05175969131903726_240.jpg
                 */

                private List<ExtendOrderGoodsBean> extend_order_goods;

                public OrderListBean(String order_id, String order_sn, String store_name,String order_state, JSONArray extend_order_goods) {
                    this.order_id=order_id;
                    this.order_sn=order_sn;
                    this.store_name=store_name;
                    this.order_state=order_state;
                    this.extend_order_goods= (List<ExtendOrderGoodsBean>) extend_order_goods;
                }


                public String getOrder_id() {
                    return order_id;
                }

                public void setOrder_id(String order_id) {
                    this.order_id = order_id;
                }

                public String getOrder_sn() {
                    return order_sn;
                }

                public void setOrder_sn(String order_sn) {
                    this.order_sn = order_sn;
                }

                public String getPay_sn() {
                    return pay_sn;
                }

                public void setPay_sn(String pay_sn) {
                    this.pay_sn = pay_sn;
                }

                public String getStore_id() {
                    return store_id;
                }

                public void setStore_id(String store_id) {
                    this.store_id = store_id;
                }

                public String getStore_name() {
                    return store_name;
                }

                public void setStore_name(String store_name) {
                    this.store_name = store_name;
                }

                public String getBuyer_id() {
                    return buyer_id;
                }

                public void setBuyer_id(String buyer_id) {
                    this.buyer_id = buyer_id;
                }

                public String getBuyer_name() {
                    return buyer_name;
                }

                public void setBuyer_name(String buyer_name) {
                    this.buyer_name = buyer_name;
                }

                public String getBuyer_email() {
                    return buyer_email;
                }

                public void setBuyer_email(String buyer_email) {
                    this.buyer_email = buyer_email;
                }

                public String getAdd_time() {
                    return add_time;
                }

                public void setAdd_time(String add_time) {
                    this.add_time = add_time;
                }

                public String getPayment_code() {
                    return payment_code;
                }

                public void setPayment_code(String payment_code) {
                    this.payment_code = payment_code;
                }

                public String getPayment_time() {
                    return payment_time;
                }

                public void setPayment_time(String payment_time) {
                    this.payment_time = payment_time;
                }

                public String getFinnshed_time() {
                    return finnshed_time;
                }

                public void setFinnshed_time(String finnshed_time) {
                    this.finnshed_time = finnshed_time;
                }

                public String getGoods_amount() {
                    return goods_amount;
                }

                public void setGoods_amount(String goods_amount) {
                    this.goods_amount = goods_amount;
                }

                public String getOrder_amount() {
                    return order_amount;
                }

                public void setOrder_amount(String order_amount) {
                    this.order_amount = order_amount;
                }

                public String getRcb_amount() {
                    return rcb_amount;
                }

                public void setRcb_amount(String rcb_amount) {
                    this.rcb_amount = rcb_amount;
                }

                public String getPd_amount() {
                    return pd_amount;
                }

                public void setPd_amount(String pd_amount) {
                    this.pd_amount = pd_amount;
                }

                public String getShipping_fee() {
                    return shipping_fee;
                }

                public void setShipping_fee(String shipping_fee) {
                    this.shipping_fee = shipping_fee;
                }

                public String getEvaluation_state() {
                    return evaluation_state;
                }

                public void setEvaluation_state(String evaluation_state) {
                    this.evaluation_state = evaluation_state;
                }

                public String getOrder_state() {
                    return order_state;
                }

                public void setOrder_state(String order_state) {
                    this.order_state = order_state;
                }

                public String getRefund_state() {
                    return refund_state;
                }

                public void setRefund_state(String refund_state) {
                    this.refund_state = refund_state;
                }

                public String getLock_state() {
                    return lock_state;
                }

                public void setLock_state(String lock_state) {
                    this.lock_state = lock_state;
                }

                public String getDelete_state() {
                    return delete_state;
                }

                public void setDelete_state(String delete_state) {
                    this.delete_state = delete_state;
                }

                public String getRefund_amount() {
                    return refund_amount;
                }

                public void setRefund_amount(String refund_amount) {
                    this.refund_amount = refund_amount;
                }

                public String getDelay_time() {
                    return delay_time;
                }

                public void setDelay_time(String delay_time) {
                    this.delay_time = delay_time;
                }

                public String getOrder_from() {
                    return order_from;
                }

                public void setOrder_from(String order_from) {
                    this.order_from = order_from;
                }

                public String getShipping_code() {
                    return shipping_code;
                }

                public void setShipping_code(String shipping_code) {
                    this.shipping_code = shipping_code;
                }

                public String getXlb_num() {
                    return xlb_num;
                }

                public void setXlb_num(String xlb_num) {
                    this.xlb_num = xlb_num;
                }

                public String getXlb_amount() {
                    return xlb_amount;
                }

                public void setXlb_amount(String xlb_amount) {
                    this.xlb_amount = xlb_amount;
                }

                public String getState_desc() {
                    return state_desc;
                }

                public void setState_desc(String state_desc) {
                    this.state_desc = state_desc;
                }

                public String getPayment_name() {
                    return payment_name;
                }

                public void setPayment_name(String payment_name) {
                    this.payment_name = payment_name;
                }

                public boolean isIf_cancel() {
                    return if_cancel;
                }

                public void setIf_cancel(boolean if_cancel) {
                    this.if_cancel = if_cancel;
                }

                public boolean isIf_receive() {
                    return if_receive;
                }

                public void setIf_receive(boolean if_receive) {
                    this.if_receive = if_receive;
                }

                public boolean isIf_lock() {
                    return if_lock;
                }

                public void setIf_lock(boolean if_lock) {
                    this.if_lock = if_lock;
                }

                public boolean isIf_deliver() {
                    return if_deliver;
                }

                public void setIf_deliver(boolean if_deliver) {
                    this.if_deliver = if_deliver;
                }

                public List<ExtendOrderGoodsBean> getExtend_order_goods() {
                    return extend_order_goods;
                }

                public void setExtend_order_goods(List<ExtendOrderGoodsBean> extend_order_goods) {
                    this.extend_order_goods = extend_order_goods;
                }

                public static class ExtendOrderGoodsBean {
                    private String rec_id;
                    private String order_id;
                    private String goods_id;
                    private String goods_name;
                    private String goods_price;
                    private String goods_num;
                    private String goods_image;
                    private String goods_pay_price;
                    private String store_id;
                    private String buyer_id;
                    private String goods_type;
                    private String promotions_id;
                    private String commis_rate;
                    private String gc_id;
                    private String goods_xlb_num;
                    private String goods_xlb_amount;
                    private Object goods_spec;
                    private String goods_image_url;

                    public ExtendOrderGoodsBean(String goods_name, String goods_num, String goods_price, String goods_pay_price) {
                        this.goods_name=goods_name;
                        this.goods_num=goods_num;
                        this.goods_price=goods_price;
                        this.goods_pay_price=goods_pay_price;

                    }


                    public String getRec_id() {
                        return rec_id;
                    }

                    public void setRec_id(String rec_id) {
                        this.rec_id = rec_id;
                    }

                    public String getOrder_id() {
                        return order_id;
                    }

                    public void setOrder_id(String order_id) {
                        this.order_id = order_id;
                    }

                    public String getGoods_id() {
                        return goods_id;
                    }

                    public void setGoods_id(String goods_id) {
                        this.goods_id = goods_id;
                    }

                    public String getGoods_name() {
                        return goods_name;
                    }

                    public void setGoods_name(String goods_name) {
                        this.goods_name = goods_name;
                    }

                    public String getGoods_price() {
                        return goods_price;
                    }

                    public void setGoods_price(String goods_price) {
                        this.goods_price = goods_price;
                    }

                    public String getGoods_num() {
                        return goods_num;
                    }

                    public void setGoods_num(String goods_num) {
                        this.goods_num = goods_num;
                    }

                    public String getGoods_image() {
                        return goods_image;
                    }

                    public void setGoods_image(String goods_image) {
                        this.goods_image = goods_image;
                    }

                    public String getGoods_pay_price() {
                        return goods_pay_price;
                    }

                    public void setGoods_pay_price(String goods_pay_price) {
                        this.goods_pay_price = goods_pay_price;
                    }

                    public String getStore_id() {
                        return store_id;
                    }

                    public void setStore_id(String store_id) {
                        this.store_id = store_id;
                    }

                    public String getBuyer_id() {
                        return buyer_id;
                    }

                    public void setBuyer_id(String buyer_id) {
                        this.buyer_id = buyer_id;
                    }

                    public String getGoods_type() {
                        return goods_type;
                    }

                    public void setGoods_type(String goods_type) {
                        this.goods_type = goods_type;
                    }

                    public String getPromotions_id() {
                        return promotions_id;
                    }

                    public void setPromotions_id(String promotions_id) {
                        this.promotions_id = promotions_id;
                    }

                    public String getCommis_rate() {
                        return commis_rate;
                    }

                    public void setCommis_rate(String commis_rate) {
                        this.commis_rate = commis_rate;
                    }

                    public String getGc_id() {
                        return gc_id;
                    }

                    public void setGc_id(String gc_id) {
                        this.gc_id = gc_id;
                    }

                    public String getGoods_xlb_num() {
                        return goods_xlb_num;
                    }

                    public void setGoods_xlb_num(String goods_xlb_num) {
                        this.goods_xlb_num = goods_xlb_num;
                    }

                    public String getGoods_xlb_amount() {
                        return goods_xlb_amount;
                    }

                    public void setGoods_xlb_amount(String goods_xlb_amount) {
                        this.goods_xlb_amount = goods_xlb_amount;
                    }

                    public Object getGoods_spec() {
                        return goods_spec;
                    }

                    public void setGoods_spec(Object goods_spec) {
                        this.goods_spec = goods_spec;
                    }

                    public String getGoods_image_url() {
                        return goods_image_url;
                    }

                    public void setGoods_image_url(String goods_image_url) {
                        this.goods_image_url = goods_image_url;
                    }
                }
            }
        }
    }
}
